package top.ltc_cn.minecraft_manager.repository.minecraft;

import org.springframework.data.jpa.repository.JpaRepository;
import top.ltc_cn.minecraft_manager.entity.minecraft.PlayerInfo;

import java.util.Optional;
import java.util.UUID;

public interface PlayerInfoRepository extends JpaRepository<PlayerInfo, Long> {
    PlayerInfo id(Long id);
    Optional<PlayerInfo> findById(Long id);
    Optional<PlayerInfo> findByPlayername(String playername);
    Optional<PlayerInfo> findByUuid(UUID uuid);
}
